import base from './base'
import axios from './http'
import qs from 'qs'

const reserve = {
  postReserve (params) {
    return axios.post(`${base.pro}/api/member/reserve`, qs.stringify(params))
  },
  getReserve (params) {
    return axios.get(`${base.pro}/api/member/memberReserve`, {
      params
    })
  }
}

export default reserve
